<!doctype html>
<html>
    <head>
        <title>Meadowlark Travel</title>
        <link rel="stylesheet" href="/css/bootstrap.min.css">
        {{#if showTest}}
        <link rel="stylesheet" href="/vendor/mocha.css">
        {{/if}}
       
    </head>
    <body>
        <img src="/img/logo.jpg" alt="Meadowlark Travel Logo"/>
        
        {{#if flash}}
            <div class="alert alert-dismissible alert-{{flash.type}}">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&times;</button>
                <strong>{{flash.intro}}</strong>{{{flash.message}}}
            </div>
        {{/if}}
        
        {{{body}}}

        {{#if showTest}}
            <div id="mocha"></div>
            <script src="/vendor/mocha.js"></script>
            <script src="/vendor/chai.js"></script>
            <script>
                mocha.ui("tdd");
                var assert = chai.assert;
            </script>
            <script src="/qa/test-global.js"></script>
            {{#if pageTestScript}}
                <script src="{{pageTestScript}}"></script>
            {{/if}}
            <script>mocha.run();</script>
        {{/if}}

        <script src="//code.jquery.com/jquery-2.0.2.min.js"></script>
        {{{_sections.jquery}}}
        <script src="/js/bootstrap.min.js"></script>
    </body>
</html>